$(function(){
	$("tr[zcode]").each(function() {
		var me = $(this);
		var n = $("tr[code='"+me.attr("zcode")+"']").size() + 1;
		if(n > 1) {
			$("td[code='price_"+me.attr("zcode")+"']").attr("rowspan", n);
			$("td[code='state_"+me.attr("zcode")+"']").attr("rowspan", n);
			$("td[code='opt_"+me.attr("zcode")+"']").attr("rowspan", n);
		}
	});
});
